package com.antu.first.service;

import com.antu.first.bean.RoomType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/3/5.
 */
public interface RoomTypeService {
    /**
     * 根据酒店Id查询酒店对应的房间类型列表
     * @param hId
     * @return
     */
    Map<String, Object> queryRoomTypeByHid( int hId);


    Map<String,Object> updateRoomTypeByRoomTypeId(RoomType roomType);

    /**
     * 按照商家ID新增房间类型
     * @param roomType
     * @return
     */
    Map<String,Object> addRoomType(RoomType roomType);

    /**
     * 按照房间类型id和酒店ID删除房间类型
     * @param roomType
     * @return
     */
    Map<String,Object> deleteRoomType(RoomType roomType);
}
